.overlay {
  background: rgba(0,0,0,0.08);
  position: fixed;
  inset: 0;
  animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(4px);
  z-index: 999;
}

// .closeButton {
//   background: transparent;
//   border: none;
//   padding: 5px;
//   cursor: pointer;
//   color: #6b7280;
//   border-radius: 4px;
//   display: flex;
//   align-items: center;
//   justify-content: center;

//   &:hover {
//     background-color: #f3f4f6;
//     color: #111827;
//   }

//   :global(.dark) & {
//     color: #9ca3af;

//     &:hover {
//       background-color: #374151;
//       color: #f9fafb;
//     }
//   }
// }

.content {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35), 0px 10px 20px -15px rgba(22, 23, 24, 0.2);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 450px;
  max-height: 85vh;
  padding: 25px;
  animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;

  :global(.dark) & {
    background: #1F2023;
    box-shadow: none;
    color: #e5e7eb;
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #151515;
  // background-color: #D1D1D1;
  display: flex;
  align-items: center;
  justify-content: center;

  // &:hover {
  //   color: #000;
  // }
  &:hover {
    background: #F3F3F3;
  }

  :global(.dark) & {
    color: #fff;

    &:hover {
      background: #313234;
      color: #fff;
    }
  }
}

.title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
  color: #212121;

  :global(.dark) & {
    color: #d1d5db;
  }
}

.description {
  font-size: 14px;
  color: #444444;
  margin-bottom: 25px;
  line-height: 1.5;

  :global(.dark) & {
    color: #d1d5db;
  }
}

.buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.cancel,
.confirm {
  flex: 1;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;

  :global(.dark) & {
    border: 1px solid #3F4245;
    background: #1F2023;
    color: #fff;
  }
}

.cancel {
  background: #E8E8E8;
  border: none;
  color: #000;
  // border: 1px solid #E3E3E3;

  &:hover {
    background: #EEF0F4;

    :global(.dark) & {
      background: #313234;
      border: 1px solid #3F4245;
      box-shadow: none;
    }
  }
}

.confirm {
  background: #151515;
  box-shadow: inset 0px 0px 3px 0px rgba(255, 255, 255, 0.48);
  border: none;
  color: white;

  &:hover {
    background: #353535;

    :global(.dark) & {
      background: #313234;
      border: 1px solid #3F4245;
      box-shadow: none;
    }
  }
}

@keyframes overlayShow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes contentShow {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}